package com.zzb.framework.role.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zzb.framework.common.AbstractBaseMapper;
import com.zzb.framework.role.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜单mapper
 * Created by zhangzhenbin on 17-2-28.
 */
@Mapper
public interface SysMenuMapper extends AbstractBaseMapper<SysMenu> {
    List<SysMenu> listByUserId(@Param("userId") String userId);
    List<SysMenu> listByRoleId(@Param("roleId") String roleId);
}
